package top.forgirl.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.forgirl.domain.Apply;
import top.forgirl.domain.dto.ApplyDo;

import java.util.List;

@Repository
public interface ApplyMapper {

    List<Apply> list(@Param("applyDo") ApplyDo applyDo,@Param("offset") int offset,@Param("count") int count);

    int insert(Apply apply);

    Apply selectOne(Integer id);

    int delete(Apply apply);
}
